<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
@if ($errors->any())
    <div class="alert alert-danger">
        <ul>
            @foreach ($errors->all() as $error)
                <li>{{ $error }}</li>
            @endforeach
        </ul>
    </div>
@endif
<form action="/home/test/test13" method="post">
    <p>姓名: <input type="text" name="name" value=""></p>
    <p>年龄: <input type="text" name="age" value=""></p>
    <p>邮箱: <input type="text" name="email" value=""></p>
    <p>验证码: <input type="text" name="captcha"><img src="{{captcha_src()}}" style="cursor: pointer;" onclick="this.src='{{captcha_src()}}?'+Math.random();" alt=""></p>
    {{csrf_field()}}
    <input type="submit" value="提交">
</form>
</body>
</html>